package com.fss.activity.dao;
import com.fssDataModels.*;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Iterator;
import java.util.List;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public interface ActivityDao {
	//CRUD functions
	public TbActivity getActivity(Integer activityId);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int insertActivity(TbActivity activity);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int updateActivity(TbActivity activity);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int deleteActivity(TbActivity activity);
}
